package com.ssm.zy.pojo;

import lombok.Data;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Component
@Data
public class Post implements Serializable {//帖子表

    private static final long serialVersionUID = -8362752557188295516L;
    private int postId;
    private String postTitle;//帖子标题
    private String postContent;//帖子内容
    private String postPhoto;//帖子图片
    private Date postTime;//发布时间
    private Date examineTime;//最后审核时间
    private int examine;//审核状态（0为未审核，1为审核通过，2为审核未通过，3为被举报）
    private int postPraise;//点赞量
    private int postCollect;//收藏量
    private int postView;//浏览量
    private int userId;//发布者Id
    private int postDel;
}
